package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsRolePermissionRelationDO;
import com.macro.mall.model.ums.UmsRolePermissionRelationQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsRolePermissionRelationMapper extends BaseMapper<UmsRolePermissionRelationDO> {
    long countByExample(UmsRolePermissionRelationQuery example);

    int deleteByExample(UmsRolePermissionRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsRolePermissionRelationDO record);

    int insertSelective(UmsRolePermissionRelationDO record);

    List<UmsRolePermissionRelationDO> selectByExample(UmsRolePermissionRelationQuery example);

    UmsRolePermissionRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsRolePermissionRelationDO record, @Param("example") UmsRolePermissionRelationQuery example);

    int updateByExample(@Param("record") UmsRolePermissionRelationDO record, @Param("example") UmsRolePermissionRelationQuery example);

    int updateByPrimaryKeySelective(UmsRolePermissionRelationDO record);

    int updateByPrimaryKey(UmsRolePermissionRelationDO record);
}
